#include "application/timer.h"
#include <time.h>

void Timer::start( )
{
    m_start_time = time( 0 );
}

void Timer::stop( )
{
    m_end_time = time( 0 );
}

const unsigned int Timer::get_elapsed_time( ) const
{
    return m_end_time - m_start_time;
}
